@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  .e-after-round {
    @apply relative after:absolute after:-right-1 after:-top-1 after:flex after:h-6 after:w-6 after:items-center after:justify-center after:rounded-full after:bg-info after:text-xs after:text-primary-content after:drop-shadow-md;
  }
  .flex-center {
    @apply flex items-center justify-center;
  }
  .rounded-card {
    /* @apply rounded-3xl bg-primary-content p-7 shadow-lg; */
    @apply rounded-3xl p-7 shadow-lg;
    border-radius: 1.5rem;
    --tw-bg-opacity: 1;
    background-color: hsl(var(--pc) / var(--tw-bg-opacity));
    padding: 1.75rem;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .main-bg {
    background-color: rgb(255 255 255 / 15%);
    @apply pr-6 overflow-scroll pt-3
  }
}

/* nprogress */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: rgb(13, 148, 136);
  opacity: 0.75;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}
